package api

import (
	"GopherFocus/app/model"
	"GopherFocus/app/system/index/internal/service"
	"github.com/gogf/gf/net/ghttp"
)

var Captcha = captchaApi{}

type captchaApi struct{}


// 获取验证码
func (a *captchaApi) Index(r *ghttp.Request) {
	service.Captcha.NewAndStore(r, model.CaptchaStoreKey)
}